@import "@/styles/__index.less";

.room-list {
  height: 100%;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;

  .title-box {
    height: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      font-size: 16px;
      font-weight: bold;
      display: flex;
      align-items: center;

      &::before {
        content: "";
        display: inline-block;
        width: 5px;
        height: 16px;
        margin-right: 6px;
        background: linear-gradient(0deg, #579FFF 0%, #FFFFFF 100%);
        border-radius: 3px;
      }
    }


    .page-box {
      display: flex;
      align-items: center;

      .prev {
        font-weight: bold;
      }

      .page {
        margin: 0px 10px;
        font-weight: bold;
        margin-top: 2px;
      }

      .next {
        font-weight: bold;
      }
    }
  }

  .select-box {
    display: flex;
    margin-right: 23px;
    .selectInfo {
      color: #579FFF;
      margin-right: 12px;
    }

    .selectList {
      display: flex;
      gap: 18px;
      align-items: center;
      .selectBox {
        width: 40px;
        height: 20px;
        //border-radius: 14px;
        opacity: .6;
        &[kong="true"] {
          border: white solid 1px;
        }
        &[select="true"] {
          opacity: 1;
        }
      }
    }
  }

  .rooms {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    //padding-bottom: 50px;
    overflow-y: auto;
    gap: 8px;

    .room-wrap {
      //min-height: 50px;
      width: 100%;
      display: flex;
      align-items: center;
      margin-bottom: 30px;

      .floor {
        align-self: flex-start;
        .pmzd-blue;
        flex: 0 0 75px;
        display: flex;
        align-items: center;
        font-size: 32px;
      }

      .room-box {
        //height: 50px;
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        // justify-content: space-between;
        align-items: center;
        gap: 30px;
        column-gap: 35px;

        .room-item {
          width: 44px;
          height: 44px;
          //margin-right: 17px;
          background: linear-gradient(to top, #5FA3FD, #FFFFFF);
          display: flex;
          justify-content: center;
          opacity: 0.6;
          position: relative;

          .info {
            font-weight: bold;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            font-size: 30px;
            filter: drop-shadow(0 0 1px #656565);
            //-webkit-text-stroke: 1px #656565;
            //text-stroke: 1px #656565;
            &.active {
              color: #556EE6;
              filter: drop-shadow(0 0 1px #fff);

            }
          }

          &[warn="true"] {
            background: linear-gradient(to top, #DAA363, #FFFFFF);
          }

          &[kong="true"] {
            //background: linear-gradient(to top, #DAA363, #FFFFFF);

            border: white 1px solid;
            background: none;
          }

          &[error="true"] {
            background: linear-gradient(to top, #B21201, #FFFFFF);
          }

          &[selected="true"] {
            opacity: 1;
          }

          .number {
            //height: 0px;
            position: relative;
            top: 35px;
            font-size: 16px;
          }
        }
      }
    }
  }
}
